package com.core.safe;

public abstract class AuthRealm {
    /**
     * 登录验证
     *
     * @param userToken
     * @return
     */
    protected abstract SafeUserInfo doGetSafeUserInfo(UserToken userToken);

    /**
     * 填充用户权限
     *
     * @param user
     * @return
     */
    protected abstract SafeOterInfo doGetSafeOterInfo(Object user);

    public void doValid() {

    }
}
